package com.zhiche.lisa.bms.service.view;

import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.bms.dao.model.view.FeeBill;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * VIEW 服务类
 * </p>
 *
 * @author linbao
 * @since 2019-03-04
 */
public interface FeeBillService extends IService<FeeBill> {

    /**
     * 获取其他扣款
     *
     * @param waybillIdList
     * @return
     */
    Map<String, BigDecimal> getFeeBillDuceSumByDtlWaybillId(List<String> waybillIdList);

    /**
     * 根据OR号获取其他扣款
     *
     * @param waybillDtlId
     * @return
     */
    BigDecimal getFeeBillDuceSumByDtlWaybillId(String waybillDtlId);
}
